public class FilterManager {
    private FilterChain filterChain;

    public FilterManager(Target target) {
        filterChain = new FilterChain();
        filterChain.setTarget(target);
    }

    public void execute(String request){
        this.filterChain.execute(request);
    }

    public void addFilter(Filter filter){
        this.filterChain.addFilter(filter);
    }

    public void removeFilter(Filter filter){
        this.filterChain.removeFilter(filter);
    }
}
